package com.example.demo.web.controller;

import com.example.demo.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Lin
 * @version 1.0
 * @date 2021/3/19 20:44
 */
@RestController
public class UserController {
    @Autowired
    private IUserService userService;
    public String getUsername(){
        userService.getUsername();
        System.out.println("delp");
        System.out.println("feature-seckill");
        System.out.println("feature-integral");

        System.out.println("release v0.2");
        System.out.println("测试通过");

        System.out.println("bug修复");
        //修复了bug
        return "hello world";
    }

    void success(){
        System.out.println("v1.0版本进行了bug修复");

    }

    void success1(){

    }

    void success2(){

    }


    void fail(){

    }
    void fail2(){

    }
    void fail3(){

    }


    void  look(){
        System.out.println("实现....功能");
    }
    void  mod(){
        System.out.println("修改线上项目出问题");
    }
}
